package org.edu.modules.teacher.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("ve_hr_jiating")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "教职工家庭信息表", description = "教职工家庭信息表")
public class VeHrJiating implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键、自增长
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键、自增长")
    private String id;
    /**
     * 教师id
     */
//    @Excel(name = "教师id", width = 15)
    @ApiModelProperty(value = "教师id")
    private String teacherid;
    /**
     * 工号
     */
    @Excel(name = "工号", width = 15)
    @ApiModelProperty(value = "工号")
    private String gh;
    /**
     * 姓名
     */
    @Excel(name = "姓名", width = 15)
    @ApiModelProperty(value = "姓名")
    private String xm;
    /**
     * 家庭住址
     */
    @Excel(name = "家庭住址", width = 15)
    @ApiModelProperty(value = "家庭住址")
    private String jtzz;
    /**
     * 家庭邮政编码
     */
    @Excel(name = "家庭邮政编码", width = 15)
    @ApiModelProperty(value = "家庭邮政编码")
    private String jtyzbm;
    /**
     * 家庭电话
     */
    @Excel(name = "家庭电话", width = 15)
    @ApiModelProperty(value = "家庭电话")
    private String jtdh;
    /**
     * 家庭联系人
     */
    @Excel(name = "家庭联系人", width = 15)
    @ApiModelProperty(value = "家庭联系人")
    private String jtlxr;
    /**
     * 家庭人口
     */
    @Excel(name = "家庭人口", width = 15)
    @ApiModelProperty(value = "家庭人口")
    private Integer jtrk;
    /**
     * 家庭主要收入来源
     */
    @Excel(name = "家庭主要收入来源", width = 15)
    @ApiModelProperty(value = "家庭主要收入来源")
    private String jtzysrly;
    /**
     * 家庭月收入金额
     */
    @Excel(name = "家庭月收入金额 ", width = 15)
    @ApiModelProperty(value = "家庭月收入金额 ")
    private String jtysrje;
    /**
     * 家庭年收入金额
     */
    @Excel(name = "家庭年收入金额", width = 15)
    @ApiModelProperty(value = "家庭年收入金额")
    private String jtnsrje;
    /**
     * 系统ID
     */
    @Excel(name = "系统ID", width = 15)
    @ApiModelProperty(value = "系统ID")
    private Integer terminalid;
    /**
     * createTime
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "createTime")
    private Date createTime;
}
